<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>TP1-Algo:  Fichier source de Piece.cpp</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">TP1-Algo
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Généré par Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="namespaces.html"><span>Espaces&#160;de&#160;nommage</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_piece_8cpp_source.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Piece.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_piece_8cpp.html">Aller à la documentation de ce fichier.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_piece_8h.html">Piece.h</a>&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keyword">using namespace </span>std;</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="keyword">namespace </span>TP1</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;{</div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_t_p1_1_1_piece.html#afaa69784489912b5d0049bdae2c55430">   19</a></span>&#160;    Piece::Piece()</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    :portes(<a class="code" href="class_t_p1_1_1_liste_portes.html">ListePortes</a>()), parcourue(false), nom(<span class="stringliteral">&quot;&quot;</span>)</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    {}</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <a class="code" href="class_t_p1_1_1_piece.html#afaa69784489912b5d0049bdae2c55430">Piece::Piece</a>(<span class="keyword">const</span> <span class="keywordtype">string</span>&amp; s)</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    :portes(<a class="code" href="class_t_p1_1_1_liste_portes.html">ListePortes</a>()), parcourue(false), nom(s)</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    {}</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="class_t_p1_1_1_piece.html#abd81f5f053d8cc9e7684459019ee6059">   35</a></span>&#160;    <a class="code" href="class_t_p1_1_1_piece.html#abd81f5f053d8cc9e7684459019ee6059">Piece::~Piece</a>()</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    {}</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="class_t_p1_1_1_piece.html#a79947e5322f3052c02dea2760f02822d">   43</a></span>&#160;    <a class="code" href="class_t_p1_1_1_piece.html#afaa69784489912b5d0049bdae2c55430">Piece::Piece</a>(<span class="keyword">const</span> <a class="code" href="class_t_p1_1_1_piece.html">Piece</a>&amp; p)</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    :portes(p.portes), parcourue(p.parcourue), nom(p.nom)</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    {}</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="class_t_p1_1_1_piece.html#a5ee0e179a05b25b76000d2dee00e5d71">   54</a></span>&#160;    <span class="keyword">const</span> <a class="code" href="class_t_p1_1_1_piece.html">Piece</a>&amp; <a class="code" href="class_t_p1_1_1_piece.html#a5ee0e179a05b25b76000d2dee00e5d71">Piece::operator =</a>(<span class="keyword">const</span> <a class="code" href="class_t_p1_1_1_piece.html">Piece</a>&amp; source)</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    {</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <span class="keywordflow">if</span>(&amp;source != <span class="keyword">this</span>)</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        {</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;            <a class="code" href="class_t_p1_1_1_piece.html#a3cf96fa6afdf5b6b5f6e39ffec169d7a">portes</a> = source.<a class="code" href="class_t_p1_1_1_piece.html#a3cf96fa6afdf5b6b5f6e39ffec169d7a">portes</a>;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;            <a class="code" href="class_t_p1_1_1_piece.html#a574c384f439566a899e87eb1443b9837">parcourue</a> = source.<a class="code" href="class_t_p1_1_1_piece.html#a574c384f439566a899e87eb1443b9837">parcourue</a>;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;            <a class="code" href="class_t_p1_1_1_piece.html#ad7f4b1d4b036961dc4220df7100da6c8">nom</a> = source.<a class="code" href="class_t_p1_1_1_piece.html#ad7f4b1d4b036961dc4220df7100da6c8">nom</a>;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        }</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    }</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="class_t_p1_1_1_piece.html#a413794f80b43ce7178088af478412867">   70</a></span>&#160;    <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; <a class="code" href="class_t_p1_1_1_piece.html#a413794f80b43ce7178088af478412867">Piece::getNom</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="keyword">    </span>{</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_t_p1_1_1_piece.html#ad7f4b1d4b036961dc4220df7100da6c8">nom</a>;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    }</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="class_t_p1_1_1_piece.html#a98c3d80561cf8cef97a703c845939af9">   80</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_t_p1_1_1_piece.html#a98c3d80561cf8cef97a703c845939af9">Piece::setParcourue</a>(<span class="keywordtype">bool</span> p)</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    {</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        <a class="code" href="class_t_p1_1_1_piece.html#a574c384f439566a899e87eb1443b9837">parcourue</a> = p;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    }</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="class_t_p1_1_1_piece.html#a53b001896020934e421b1a5042771dbf">   90</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_t_p1_1_1_piece.html#a53b001896020934e421b1a5042771dbf">Piece::getParcourue</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="keyword">    </span>{</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_t_p1_1_1_piece.html#a574c384f439566a899e87eb1443b9837">parcourue</a>;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    }</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="class_t_p1_1_1_piece.html#a0f52ef56da9c4af0cac0ad471aa61932">  100</a></span>&#160;    <span class="keyword">const</span> <a class="code" href="class_t_p1_1_1_liste_portes.html">ListePortes</a>&amp; <a class="code" href="class_t_p1_1_1_piece.html#a0f52ef56da9c4af0cac0ad471aa61932">Piece::getPortes</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="keyword">    </span>{</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_t_p1_1_1_piece.html#a3cf96fa6afdf5b6b5f6e39ffec169d7a">portes</a>;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    }</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="class_t_p1_1_1_piece.html#a8d33c34dd4e3c4ea3f6f02d9a217d256">  110</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_t_p1_1_1_piece.html#a8d33c34dd4e3c4ea3f6f02d9a217d256">Piece::ajoutePorte</a>(<a class="code" href="class_t_p1_1_1_porte.html">Porte</a>&amp; p)</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    {</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        <a class="code" href="class_t_p1_1_1_piece.html#a3cf96fa6afdf5b6b5f6e39ffec169d7a">portes</a>.<a class="code" href="class_t_p1_1_1_liste_portes.html#af557df32fa1b504d30a0beb0ca8eaba7">ajoutePorte</a>(p);</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    }</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="class_t_p1_1_1_piece.html#ac84aa28c32a1fb2ea23832b8ebab8f7a">  120</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_t_p1_1_1_piece.html#ac84aa28c32a1fb2ea23832b8ebab8f7a">Piece::operator == </a>(<a class="code" href="class_t_p1_1_1_piece.html">Piece</a> &amp; p)</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    {</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;        <span class="keywordtype">bool</span> identique = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="class_t_p1_1_1_piece.html#ad7f4b1d4b036961dc4220df7100da6c8">nom</a> == p.<a class="code" href="class_t_p1_1_1_piece.html#ad7f4b1d4b036961dc4220df7100da6c8">nom</a>)</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        {</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i&lt;<a class="code" href="class_t_p1_1_1_piece.html#a3cf96fa6afdf5b6b5f6e39ffec169d7a">portes</a>.<a class="code" href="class_t_p1_1_1_liste_portes.html#aea2f8a070489b7379359652f947acd2c">tailleListePortes</a>(); i++)</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;            {</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;                <span class="keywordflow">if</span>(<a class="code" href="class_t_p1_1_1_piece.html#a3cf96fa6afdf5b6b5f6e39ffec169d7a">portes</a>.<a class="code" href="class_t_p1_1_1_liste_portes.html#a333ec780cee748e7607e2ebbb8c93bab">elementAt</a>(i+1) == p.<a class="code" href="class_t_p1_1_1_piece.html#a3cf96fa6afdf5b6b5f6e39ffec169d7a">portes</a>.<a class="code" href="class_t_p1_1_1_liste_portes.html#a333ec780cee748e7607e2ebbb8c93bab">elementAt</a>(i+1))</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;                {</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;                    identique = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;                }</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;            }</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        }</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        <span class="keywordflow">return</span> identique;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    }</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;} <span class="comment">// namespace TP1</span></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div>
<div class="ttc" id="class_t_p1_1_1_piece_html_a413794f80b43ce7178088af478412867"><div class="ttname"><a href="class_t_p1_1_1_piece.html#a413794f80b43ce7178088af478412867">TP1::Piece::getNom</a></div><div class="ttdeci">const std::string &amp; getNom() const </div><div class="ttdoc">renvoi le nom de la pièce </div><div class="ttdef"><b>Definition:</b> <a href="_piece_8cpp_source.html#l00070">Piece.cpp:70</a></div></div>
<div class="ttc" id="class_t_p1_1_1_liste_portes_html_af557df32fa1b504d30a0beb0ca8eaba7"><div class="ttname"><a href="class_t_p1_1_1_liste_portes.html#af557df32fa1b504d30a0beb0ca8eaba7">TP1::ListePortes::ajoutePorte</a></div><div class="ttdeci">void ajoutePorte(Porte &amp;p)</div><div class="ttdoc">ajoute un objet Porte à la fin de la listePortes. </div><div class="ttdef"><b>Definition:</b> <a href="_liste_portes_8cpp_source.html#l00206">ListePortes.cpp:206</a></div></div>
<div class="ttc" id="_piece_8h_html"><div class="ttname"><a href="_piece_8h.html">Piece.h</a></div><div class="ttdoc">Ce fichier contient l&#39;interface d&#39;une pièce. </div></div>
<div class="ttc" id="class_t_p1_1_1_liste_portes_html_aea2f8a070489b7379359652f947acd2c"><div class="ttname"><a href="class_t_p1_1_1_liste_portes.html#aea2f8a070489b7379359652f947acd2c">TP1::ListePortes::tailleListePortes</a></div><div class="ttdeci">int tailleListePortes() const </div><div class="ttdoc">méthode qui retourne la taille de la listePortes </div><div class="ttdef"><b>Definition:</b> <a href="_liste_portes_8cpp_source.html#l00028">ListePortes.cpp:28</a></div></div>
<div class="ttc" id="class_t_p1_1_1_piece_html_abd81f5f053d8cc9e7684459019ee6059"><div class="ttname"><a href="class_t_p1_1_1_piece.html#abd81f5f053d8cc9e7684459019ee6059">TP1::Piece::~Piece</a></div><div class="ttdeci">virtual ~Piece()</div><div class="ttdoc">destructeur de la classe Piece </div><div class="ttdef"><b>Definition:</b> <a href="_piece_8cpp_source.html#l00035">Piece.cpp:35</a></div></div>
<div class="ttc" id="class_t_p1_1_1_piece_html_afaa69784489912b5d0049bdae2c55430"><div class="ttname"><a href="class_t_p1_1_1_piece.html#afaa69784489912b5d0049bdae2c55430">TP1::Piece::Piece</a></div><div class="ttdeci">Piece()</div><div class="ttdoc">constructeur par défaut de la classe Piece </div><div class="ttdef"><b>Definition:</b> <a href="_piece_8cpp_source.html#l00019">Piece.cpp:19</a></div></div>
<div class="ttc" id="class_t_p1_1_1_porte_html"><div class="ttname"><a href="class_t_p1_1_1_porte.html">TP1::Porte</a></div><div class="ttdoc">classe représentant une porte colorée dans un labyrinthe. </div><div class="ttdef"><b>Definition:</b> <a href="_porte_8h_source.html#l00036">Porte.h:36</a></div></div>
<div class="ttc" id="class_t_p1_1_1_piece_html_a0f52ef56da9c4af0cac0ad471aa61932"><div class="ttname"><a href="class_t_p1_1_1_piece.html#a0f52ef56da9c4af0cac0ad471aa61932">TP1::Piece::getPortes</a></div><div class="ttdeci">const ListePortes &amp; getPortes() const </div><div class="ttdoc">Accéder à la liste des portes qui partent de la pièce. </div><div class="ttdef"><b>Definition:</b> <a href="_piece_8cpp_source.html#l00100">Piece.cpp:100</a></div></div>
<div class="ttc" id="class_t_p1_1_1_piece_html_a5ee0e179a05b25b76000d2dee00e5d71"><div class="ttname"><a href="class_t_p1_1_1_piece.html#a5ee0e179a05b25b76000d2dee00e5d71">TP1::Piece::operator=</a></div><div class="ttdeci">const Piece &amp; operator=(const Piece &amp;source)</div><div class="ttdoc">operateur d&#39;assignation, copie les données membres de la pièce fourni en argument dans l&#39;objet couran...</div><div class="ttdef"><b>Definition:</b> <a href="_piece_8cpp_source.html#l00054">Piece.cpp:54</a></div></div>
<div class="ttc" id="class_t_p1_1_1_piece_html_ad7f4b1d4b036961dc4220df7100da6c8"><div class="ttname"><a href="class_t_p1_1_1_piece.html#ad7f4b1d4b036961dc4220df7100da6c8">TP1::Piece::nom</a></div><div class="ttdeci">std::string nom</div><div class="ttdef"><b>Definition:</b> <a href="_piece_8h_source.html#l00104">Piece.h:104</a></div></div>
<div class="ttc" id="class_t_p1_1_1_piece_html"><div class="ttname"><a href="class_t_p1_1_1_piece.html">TP1::Piece</a></div><div class="ttdoc">Piece dans un labyrinthe ayant un nom unique et une liste de portes qui partent de cette pièce...</div><div class="ttdef"><b>Definition:</b> <a href="_piece_8h_source.html#l00028">Piece.h:28</a></div></div>
<div class="ttc" id="class_t_p1_1_1_liste_portes_html_a333ec780cee748e7607e2ebbb8c93bab"><div class="ttname"><a href="class_t_p1_1_1_liste_portes.html#a333ec780cee748e7607e2ebbb8c93bab">TP1::ListePortes::elementAt</a></div><div class="ttdeci">Porte elementAt(int pos) const </div><div class="ttdoc">retourne l&#39;élément à une position demandée de la liste </div><div class="ttdef"><b>Definition:</b> <a href="_liste_portes_8cpp_source.html#l00158">ListePortes.cpp:158</a></div></div>
<div class="ttc" id="class_t_p1_1_1_piece_html_ac84aa28c32a1fb2ea23832b8ebab8f7a"><div class="ttname"><a href="class_t_p1_1_1_piece.html#ac84aa28c32a1fb2ea23832b8ebab8f7a">TP1::Piece::operator==</a></div><div class="ttdeci">bool operator==(Piece &amp;p)</div><div class="ttdoc">surcharge de l&#39;opérateur == </div><div class="ttdef"><b>Definition:</b> <a href="_piece_8cpp_source.html#l00120">Piece.cpp:120</a></div></div>
<div class="ttc" id="class_t_p1_1_1_piece_html_a98c3d80561cf8cef97a703c845939af9"><div class="ttname"><a href="class_t_p1_1_1_piece.html#a98c3d80561cf8cef97a703c845939af9">TP1::Piece::setParcourue</a></div><div class="ttdeci">void setParcourue(bool p)</div><div class="ttdoc">Pour initialiser l&#39;attibut parcourue à true ou false. </div><div class="ttdef"><b>Definition:</b> <a href="_piece_8cpp_source.html#l00080">Piece.cpp:80</a></div></div>
<div class="ttc" id="class_t_p1_1_1_piece_html_a8d33c34dd4e3c4ea3f6f02d9a217d256"><div class="ttname"><a href="class_t_p1_1_1_piece.html#a8d33c34dd4e3c4ea3f6f02d9a217d256">TP1::Piece::ajoutePorte</a></div><div class="ttdeci">void ajoutePorte(Porte &amp;p)</div><div class="ttdoc">Permet d&#39;ajouter une porte à la liste de portes de cette pièce. </div><div class="ttdef"><b>Definition:</b> <a href="_piece_8cpp_source.html#l00110">Piece.cpp:110</a></div></div>
<div class="ttc" id="class_t_p1_1_1_liste_portes_html"><div class="ttname"><a href="class_t_p1_1_1_liste_portes.html">TP1::ListePortes</a></div><div class="ttdef"><b>Definition:</b> <a href="_liste_portes_8h_source.html#l00020">ListePortes.h:20</a></div></div>
<div class="ttc" id="class_t_p1_1_1_piece_html_a574c384f439566a899e87eb1443b9837"><div class="ttname"><a href="class_t_p1_1_1_piece.html#a574c384f439566a899e87eb1443b9837">TP1::Piece::parcourue</a></div><div class="ttdeci">bool parcourue</div><div class="ttdef"><b>Definition:</b> <a href="_piece_8h_source.html#l00102">Piece.h:102</a></div></div>
<div class="ttc" id="class_t_p1_1_1_piece_html_a53b001896020934e421b1a5042771dbf"><div class="ttname"><a href="class_t_p1_1_1_piece.html#a53b001896020934e421b1a5042771dbf">TP1::Piece::getParcourue</a></div><div class="ttdeci">bool getParcourue() const </div><div class="ttdoc">Permet d&#39;accéder à la donnée membre parcourue. </div><div class="ttdef"><b>Definition:</b> <a href="_piece_8cpp_source.html#l00090">Piece.cpp:90</a></div></div>
<div class="ttc" id="class_t_p1_1_1_piece_html_a3cf96fa6afdf5b6b5f6e39ffec169d7a"><div class="ttname"><a href="class_t_p1_1_1_piece.html#a3cf96fa6afdf5b6b5f6e39ffec169d7a">TP1::Piece::portes</a></div><div class="ttdeci">ListePortes portes</div><div class="ttdef"><b>Definition:</b> <a href="_piece_8h_source.html#l00100">Piece.h:100</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="_piece_8cpp.html">Piece.cpp</a></li>
    <li class="footer">Généré le Dimanche 8 Juin 2014 19:37:05 pour TP1-Algo par
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
